package com.itheima.youdianda.typeHandler;

import org.apache.ibatis.type.JdbcType;
import org.apache.ibatis.type.TypeHandler;

import java.sql.CallableStatement;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.time.LocalDate;

/**
 * @author 袁鹏
 * @date 2022-09-07-14:52
 */
public class LocalDateTypeHandler implements TypeHandler<LocalDate> {
    @Override
    public void setParameter(PreparedStatement preparedStatement, int i, LocalDate localDate, JdbcType jdbcType) throws SQLException {

    }

    @Override
    public LocalDate getResult(ResultSet resultSet, String s) throws SQLException {
        return null;
    }

    @Override
    public LocalDate getResult(ResultSet resultSet, int i) throws SQLException {
        return null;
    }

    @Override
    public LocalDate getResult(CallableStatement callableStatement, int i) throws SQLException {
        return null;
    }
}
